package com.cdut.beans;

public class Order extends org.hibernate.criterion.Order {
    private Integer id;
    private String address;
    private Double price;
    private Customer customer;

    protected Order(String propertyName, boolean ascending) {
        super(propertyName, ascending);
    }

    public Order() {
        super("hhh", Boolean.parseBoolean("0"));
    }

    public Integer getId(){
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public Double getPrice() {
        return price;
    }
    public void setPrice(Double price) {
        this.price = price;
    }
    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }
}
